package com.sxbbc.common.core.entity.jz;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 首页推荐商品活动表
 * </p>
 *
 * @author leehao
 * @since 2019-05-25
 */
public class AppHomeRecommend implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * app_home_model的id
     */
    private Integer pid;

    /**
     * 商品编码
     */
    private String proCode;

    /**
     * 商品规格id
     */
    private Integer proSkuId;

    /**
     * 商品价格
     */
    @TableField(exist = false)
    private BigDecimal price;

    /**
     * 商品名称
     */
    @TableField(exist = false)
    private String proName;

    /**
     * 规格名称
     */
    @TableField(exist = false)
    private String specName;

    /**
     * 产品主表状态
     */
    @TableField(exist = false)
    private Integer mainStatus;

    /**
     * 产品子表状态
     */
    @TableField(exist = false)
    private Integer detailStatus;

    /**
     * 产品id
     */
    @TableField(exist = false)
    private Integer proId;

    /**
     * 店铺id  如存在
     */
    @TableField(exist = false)
    private Integer bid;

    /**
     * 页面可选标记
     */
    @TableField(exist = false)
    private String checkFlag;

    /** 产品主图 */
    @TableField(exist = false)
    private String proUrl;

    /** 创业分 */
    @TableField(exist = false)
    private BigDecimal point;

    public BigDecimal getPoint() {
        return point;
    }

    public void setPoint(BigDecimal point) {
        this.point = point;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }
    public String getProCode() {
        return proCode;
    }

    public void setProCode(String proCode) {
        this.proCode = proCode;
    }
    public Integer getProSkuId() {
        return proSkuId;
    }

    public void setProSkuId(Integer proSkuId) {
        this.proSkuId = proSkuId;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public String getProName() {
        return proName;
    }

    public void setProName(String proName) {
        this.proName = proName;
    }

    public String getSpecName() {
        return specName;
    }

    public void setSpecName(String specName) {
        this.specName = specName;
    }

    public Integer getMainStatus() {
        return mainStatus;
    }

    public void setMainStatus(Integer mainStatus) {
        this.mainStatus = mainStatus;
    }

    public Integer getDetailStatus() {
        return detailStatus;
    }

    public void setDetailStatus(Integer detailStatus) {
        this.detailStatus = detailStatus;
    }

    public Integer getProId() {
        return proId;
    }

    public void setProId(Integer proId) {
        this.proId = proId;
    }

    public Integer getBid() {
        return bid;
    }

    public void setBid(Integer bid) {
        this.bid = bid;
    }

    public String getCheckFlag() {
        return checkFlag;
    }

    public void setCheckFlag(String checkFlag) {
        this.checkFlag = checkFlag;
    }

    public String getProUrl() {
        return proUrl;
    }

    public void setProUrl(String proUrl) {
        this.proUrl = proUrl;
    }

    @Override
    public String toString() {
        return "AppHomeRecommend{" +
        "id=" + id +
        ", pid=" + pid +
        ", proCode=" + proCode +
        ", proSkuId=" + proSkuId +
        "}";
    }
}
